package stage1.module2;

public class Homework3UserConsumption {
    private double talkTime;
    private double data;
    private double cost;

    public void show(){
        System.out.printf("通话时长:%f.2, 上网流量:%f.2, 消费金额:%f.2", talkTime, data, cost);
    }
}
